#real-time-data-chart canvas {
  width: 100%;
  height: 100%;
  padding: 0 20px !important
}

.page-home {
  .grap {
    color: #999999;
  }

  // 订单栏项
  .order-all-num {
    display: flex;
    justify-content: space-between;
    .order-num-item {
      width: calc((100% - 95px) * 0.17);
      display: flex;
      padding: 23px 25px;
      justify-content: space-between;
      background-color: #fff;
      cursor: pointer;
      .item-box {
        .words {
          font-size: 16px;
          font-weight: 400;
          color: #666;
        }
        .number {
          font-size: 26px;
          font-family: Microsoft YaHei, serif;
          font-weight: bold;
          color: #333;
          margin: 14px 0;
        }
        .seq {
          display: flex;
        }
        .compare {
          font-size: 14px;
        }
      }
    }

    // 图标过渡效果
    .order-num-item {
      position: relative;
      transition: 0.35s ease;
      &:hover {
        .item-img {
          top: 15%;
        }
      }
      .item-img {
        position: absolute;
        right: 25px;
        top: 25%;
        display: block;
        width: 60px;
        height: 60px;
        transition: 0.35s ease;
        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  // 添加公告
  .title {
    font-size: 22px;
    color: #111111;
    font-weight: bold;
    padding: 20px;
  }

  .title-time {
    color: #999999;
    font-size: 12px;
    margin-left: 12px;
    vertical-align: middle;
  }

  /**
    实时概况
    */
  .realtime-situation {
    .realtime {
      display: flex;
      margin-top: 20px;
      padding: 0;
    }
    //左边
    .realtime-left {
      width: calc(80% - 16px);
      margin-right: 20px;
      background: #fff;
    }

    // 标题
    .title {
      position: relative;
      display: flex;
      align-items: center;
      .t-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
      }

      .t-small-text {
        font-size: 12px;
        color: #999;
      }
      .t-explain-item::before {
        display: inline-block;
        content: '';
        width: 18px;
        height: 8px;
        background: #ff4141;
        border-radius: 8px;
        margin-right: 10px;
      }
      .t-explain-first-item {
        margin-left: 50px;
      }
      .t-explain-second-item {
        margin-left: 40px;
      }

      .t-today-data::before {
        background: #1890ff;
      }
      .t-yesterday-data::before {
        background: #21d59b;
      }
    }

    // 图表
    .realtime-chart-box {
      left: -10px !important;
    }

    // 右边
    .realtime-right {
      min-width: calc((100% - 20px) * 0.2);
      min-height: 426px;
      padding: 20px 0 0 20px;
      background-color: #fff;
      box-sizing: border-box;
      .realtime-right-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 45px;
      }
      .realtime-right-box {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        .realtime-right-box-left,
        .realtime-right-box-right {
          width: 100%;
          display: flex;
          justify-content: space-between;
        }
        .realtime-right-box-right {
          margin-top: -30px;
        }
        .order-num-item {
          width: 100%;
          display: flex;
          .item-img {
            margin-right: 30px;
            .words {
              font-size: 16px;
              font-weight: 400;
              color: #666;
            }
            .number {
              font-size: 24px;
              font-family: Microsoft YaHei, serif;
              font-weight: bold;
              color: #333;
              margin: 14px 0;
            }
            .compare {
              font-size: 14px;
            }
          }
          .item-box {
            .words {
              font-size: 16px;
              font-weight: 400;
              color: #666;
            }
            .number {
              font-size: 26px;
              font-family: Microsoft YaHei, serif;
              font-weight: bold;
              color: #333;
              margin: 14px 0;
            }
            .seq {
              display: flex;
              .value {
                color: #333333;
                font-weight: bold;
                margin-right: 8px;
              }
            }
          }
        }
      }
    }
  }

  /**
    整体看板
    */
  .whole-plate {
    margin: 20px 0 20px;
    min-height: 460px;
    background-color: #fff;

    // 标题
    .title {
      width: 80%;
      position: relative;
      display: flex;
      align-items: center;
      .t-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
      }
      .t-small-text {
        font-size: 12px;
        color: #999;
      }

      .t-explain-item::before {
        display: inline-block;
        content: '';
        width: 18px;
        height: 8px;
        background: #ff4141;
        border-radius: 8px;
        margin-right: 10px;
      }
      .t-explain-first-item {
        margin-left: 50px;
      }
      .t-explain-second-item {
        margin-left: 40px;
      }

      .t-today-data::before {
        background: #1890ff;
      }
      .t-yesterday-data::before {
        background: #21d59b;
      }
    }

    .money {
      width: 20%;
      display: flex;
      justify-content: space-between;
      .related-income-item {
        text-align: center;
      }
    }

    .related-income {
      margin: 20px 0 0 0;
      padding-right: 50px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .item-tit {
      margin-top: 23px;
      margin-bottom: 15px;
    }

    .item-num {
      height: 24px;
      line-height: 24px;
    }

    .item-num-price {
      font-size: 18px;
      font-weight: 700;
    }

    .integral-plate {
      margin-top: 15px;
    }
  }

  /**
    退款看板
    */
  .refund-plate {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    // 上
    .ranking-box {
      display: flex;
      flex-wrap: wrap;
      width: 50%;
      padding-right: 20px;

      .ranking-left,
      .refund-rate-box {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fbfbfb;
        padding: 20px;
        box-sizing: border-box;
        height: calc((100% - 20px) * 0.5);
      }
      .ranking-title {
        font-weight: bold;
        color: #333;
        font-size: 18px;
        margin-bottom: 10px;
      }

      .table {
        width: 100%;
        border: none;
        background: #fbfbfb;
        text-align: left;
        tr {
          border: none;
          height: 3em;
          line-height: 1.5em;
        }

        td {
          border: none;
          word-break: break-word;
        }

        .gray {
          background: #f7f8fa;
        }

        .table-tit-item {
          color: #999;
          text-align: left;
        }

        .rank {
          width: 20%;
        }

        .prod {
          width: 50%;
        }

        .ref {
          width: 20%;
        }

        .ranks {
          width: 20%;
        }

        .prods {
          width: 38%;
        }

        .refs {
          width: 30%;
        }

        .prop {
          width: 12%;
        }
      }

      .refund-rate-box {
        margin-top: 20px;
      }
      .line-clamp-one {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        word-wrap: break-word;
        word-break: break-all;
      }
      .padLeft {
        padding-left: 20px;
      }
      .msg-tit {
        font-weight: bold;
        color: #333;
        font-size: 18px;
        margin-bottom: 15px;
      }
    }

    //  下
    .refund-chart-box {
      display: flex;
      flex-wrap: wrap;
      width: 50%;
      .successed-refund,
      .ranking-right {
        display: flex;
        width: 100%;
        flex-direction: column;
        background: #fbfbfb;
        padding: 20px;
        box-sizing: border-box;
        height: calc((100% - 20px) * 0.5);
      }

      .successed-refund {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fbfbfb;
        padding: 20px;
        box-sizing: border-box;
        height: calc((100% - 20px) * 0.5);
      }

      .ranking-title {
        font-weight: bold;
        color: #333;
        font-size: 18px;
        margin-bottom: 10px;
      }

      .table {
        width: 100%;
        border: none;
        background: #fbfbfb;
        text-align: left;
        tr {
          border: none;
          height: 3em;
          line-height: 1.5em;
        }

        td {
          border: none;
          word-break: break-word;
        }

        .gray {
          background: #f7f8fa;
        }

        .table-tit-item {
          color: #999;
          text-align: left;
        }

        .rank {
          width: 20%;
        }

        .prod {
          width: 50%;
        }

        .ref {
          width: 20%;
        }

        .ranks {
          width: 20%;
        }

        .prods {
          width: 40%;
        }

        .refs {
          width: 30%;
        }

        .prop {
          width: 10%;
        }
        .line-clamp-one {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          text-overflow: ellipsis;
          overflow: hidden;
          word-wrap: break-word;
          word-break: break-all;
        }
        .padLeft {
          padding-left: 20px;
        }
      }
      .msg-tit {
        font-weight: bold;
        color: #333;
        font-size: 18px;
        margin-bottom: 15px;
      }

      .padLeft {
        padding-left: 20px;
      }

      .compare {
        color: #9b9b9b;
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        padding: 5px;
      }
    }
    .msg-tit-txt {
      display: flex;
      .refund-explain {
        font-size: 12px;
        color: #999;
        margin-left: 50px;
        &::before {
          display: inline-block;
          content: "";
          width: 18px;
          height: 8px;
          background: #0058FF;
          border-radius: 8px;
          margin-right: 10px;
        }
        &.successful::before {
          background: #29CB97;
        }
      }
    }
  }
  // 暂无商品提示
  .table-no-data {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: #909399;
    font-size: 16px;
  }
}
@media screen and (max-width: 1680px) {
  .page-home {
    // 订单栏项
    .order-all-num {
      .order-num-item {
        // width: calc((100% - 73px) * 0.2);
        display: flex;
        padding: 25px 10px;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        box-sizing: border-box;
        border-radius: 4px;
        cursor: pointer;
        .item-box {
          .words {
            font-size: 16px;
            font-weight: 400;
            color: #666;
          }
          .number {
            font-size: 26px;
            font-family: Microsoft YaHei, serif;
            font-weight: bold;
            color: #333;
            margin-top: 10px;
          }
          .seq {
            display: flex;
          }
          .compare {
            font-size: 14px;
          }
        }
      }
      // 图标过渡效果
      .order-num-item {
        position: relative;
        transition: 0.35s ease;
        &:hover {
          .item-img {
            top: 15%;
          }
        }
        .item-img {
          position: absolute;
          right: 8px;
          top: 25%;
          display: block;
          width: 60px;
          height: 60px;
          transition: 0.35s ease;
          img {
            display: block;
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}